package zoran.wang.factory;

import zoran.wang.entity.Person;

/**
 * description：
 *
 * @author wangzhuo
 * @date 2022/3/18 0:29
 * @Email zoranwang@yeah.net
 */
public class PersonFactory {

    public static Person createPerson1() {
        return new Person(11, "工厂方法创建的对象", "2222", 104);
    }

    public Person createPerson2() {
        return new Person(12, "工厂方法创建的对象", "1111", 104);
    }

}
